//
//  FriendInfoModel.m
//  IMChat
//
//  Created by CLSgGhost on 2021/7/6.
//  Copyright © 2021年 TeamOne. All rights reserved.
//

#import "FriendInfoModel.h"

@implementation FriendInfoModel

- (FriendInfoModel *)initWithId:(NSString *)friendId
                       withName:(NSString *)friendName
                withPortraitUri:(NSString *__nullable)friendPortraitUri
                        withSex:(NSString *__nullable)friendSex{
    
    if(self = [super init]){
        self.friendId = friendId;
        self.friendName = friendName;
        self.friendPortraitUri = friendPortraitUri;
        self.friendSex = friendSex;
    }
    
    return self;
}

- (FriendInfoModel *)initWithId:(NSString *)friendId
                       withName:(NSString *)friendName
                withPortraitUri:(NSString *)friendPortraitUri{
    
    return [self initWithId:friendId withName:friendName withPortraitUri:friendPortraitUri withSex:nil];
}

- (FriendInfoModel *)initWithId:(NSString *)friendId
                       withName:(NSString *)friendName{
    
    return [self initWithId:friendId withName:friendName withPortraitUri:nil withSex:nil];
}

@end
